package com.hb.trade.server.center.au.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hb.core.pojo.center.au.dto.UserExtDTO;
import com.hb.core.pojo.center.au.entity.UserExt;

import java.util.List;

/**
 * 用户扩展信息表 服务类
 *
 * @author zhaojk
 * @since 2021-11-29
 */
public interface UserExtService extends IService<UserExt> {

    /**
     * 更新用户的扩展信息
     *
     * @param userExt
     * @return
     */
    boolean updateByUserId(UserExtDTO userExt);
    /**
     *
     * @Description: 根据用户id查询用户扩展信息
     * @Author: zhongdl
     * @Date:2022/2/14 8:51
     * @param userId:
     * @return: {@link UserExt }
     **/
    UserExt getUserExtByUserId(Long userId);
}
